package com.jg.visitor.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("\"log_record\"")
public class LogRecord extends Model<LogRecord>{
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("登录时间")
    private String logTime;

    @ApiModelProperty("登录地址")
    private String logHost;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("登录ip")
    private String logIp;
}
